﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Main.UI.UserControls
{
    public partial class IconTitleDescription : UserControl
    {
        public IconTitleDescription()
        {
            InitializeComponent();
        }

        public IconTitleDescription(string title, string description)
            : this()
        {
            Title = title;
            Description = description;
        }


        public IconTitleDescription(string title, string description, Image image)
            : this(title, description)
        {
            Image = image;
        }
        public string Title { get { return lblTitle.Text; } set { lblTitle.Text = value; } }
        public string Description { get { return txtDescription.Text; } set { txtDescription.Text = value; } }
        public Image Image { get { return LargeIcon.Image; } set { LargeIcon.Image = value; } }
    }
}
